#include "StdAfx.h"
#include "DEnemy.h"
#include "../Engine/DAnimation.h"

DEnemy::DEnemy(boost::shared_ptr<DGame> game)
: DIActor(game)
{
}

DEnemy::~DEnemy(void)
{
}

std::map<std::string, std::string> DEnemy::animationList() const
{
	return std::map<std::string, std::string>();
}

void DEnemy::update(float dt)
{
	static float time = 0;
	m_pos.x -= 300*dt;
	currentAnimation()->update(dt);
	time += dt;
}